#include<iostream>
using namespace std;
int main(){
	int counter=0,sum=0;
	int num;
	cout<<"Please input 20 number:"<<endl;
	for(int i=0;i<20;i++){
		cin>>num;
		if(num<0){
			counter++;
		  sum+=num;
			}
		}
	cout<<"counter="<<counter<<endl;
	cout<<"sum="<<sum<<endl;
return 0;
	}